package com.aspose.cells;

class zlj implements zagj, zagl {
   private zaay a;
   private boolean b;
   private boolean c;

   zlj(zaay var1, boolean var2) {
      this.a = var1;
      this.b = var2;
   }

   public zagi a(zaay var1) {
      return var1 == null ? this : new zlj(var1 == null ? this.a : var1, this.b);
   }

   public boolean a() {
      return false;
   }

   public void a(boolean var1) {
   }

   public void b(zaay var1) {
      if (var1 != this.a) {
         this.a.g = var1.g;
         this.a.h = var1.h;
      }

   }

   public int b() {
      return 5;
   }

   public boolean a(zagu var1) {
      zyv var2 = var1.j(this.a);
      if (var2 != null && var2.k()) {
         if (!this.b) {
            this.c = true;
            return true;
         }
      } else if (this.b) {
         this.c = false;
         return true;
      }

      return false;
   }

   public boolean b(zagu var1) {
      return this.a(var1);
   }

   public void c() {
   }

   public boolean a(int var1, zagu var2) {
      return this.a(var2);
   }

   public zagu d() {
      return this.b ? zyx.a : zyw.a;
   }

   public zagu b(boolean var1) {
      return this.b ? zyx.a : zyw.a;
   }

   public zagu e() {
      return this.c ? zyx.a : zyw.a;
   }

   public boolean f() {
      return true;
   }
}
